/// @description Insert description here
// You can write your code in this editor


if (object_get_parent( o_Hero)) {
	  if (other.hp > 0){
		other.hp -= damage; //уменьшаем здоровье врага на значение урона
		
		}
}
instance_destroy();









